<script setup>
import { ref } from 'vue'

defineProps({
  username: String,
  password: String
})

function login(){
}
</script>

<template>
  <el-form ref="form">
    <el-form-item label="用户">
      <el-input v-model="username"></el-input>
    </el-form-item>
    <el-form-item label="口令">
      <el-input v-model="password"></el-input>
    </el-form-item>
    <el-form-item>
      <el-button type="primary" @click="login">登录</el-button>
      <el-button @click="reset">清空</el-button>
    </el-form-item>
  </el-form>
</template>

<style scoped>
a {
  color: #42b983;
}
</style>
